package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员信息变更对象 user_info_change
 *
 * @author ruoyi
 * @date 2024-04-07
 */
public class UserInfoChange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 变更项 */
    @Excel(name = "变更项")
    private String changeItem;

    /** 变更前内容 */
    @Excel(name = "变更前内容")
    private String changeBefore;

    /** 变更后内容 */
    @Excel(name = "变更后内容")
    private String changeAfter;

    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setChangeItem(String changeItem)
    {
        this.changeItem = changeItem;
    }

    public String getChangeItem()
    {
        return changeItem;
    }
    public void setChangeBefore(String changeBefore)
    {
        this.changeBefore = changeBefore;
    }

    public String getChangeBefore()
    {
        return changeBefore;
    }
    public void setChangeAfter(String changeAfter)
    {
        this.changeAfter = changeAfter;
    }

    public String getChangeAfter()
    {
        return changeAfter;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("changeItem", getChangeItem())
            .append("changeBefore", getChangeBefore())
            .append("changeAfter", getChangeAfter())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
